<template>
  <div>
    <button @click="tap">emit Test</button>
  </div>
</template>

<script>
export default {
  methods: {
    tap() {
      console.log('tap');
      this.$emit('btntap');
    }
  }
};
</script>

<style lang="scss">
button {
  width: 100%;
  height: 50px;
}
</style>

